package com.lyt.springboot.designPattern.adapter;

public class Client {
    public static void main(String[] args) {
        IVoltage5V voltage5V = new VoltageAdapter();
        int voltage = voltage5V.output5V();
        System.out.println("适配后的电压为：" + voltage + "V");
    }
    /**
     * 对象适配器模式
     */
}